document.addEventListener("DOMContentLoaded",function(){
    let addresses=[];
   chrome.storage.local.get("addresses",function(result){
    addresses = result.addresses;
    addresses.forEach(element => {
        if(element.origin==location.href){
            location.href=element.jump;
        }
        
    });
}); 
});

